package miage.rest.mail;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 *
 * @author Schwartz Michaël
 */
@XStreamAlias("email")
public class Email {

	@XStreamAlias("head")
	private EmailHeaders headers;
	private String body;

	public EmailHeaders getHeaders() {
		return headers;
	}

	public void setHeaders(EmailHeaders headers) {
		this.headers = headers;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}
}
